<%@include file="../../context.jsp"%>
<script type="text/javascript">
	$(document).ready(function() {
		$("#btn_search_most").on("click", function() {
			searchData("filterForm_most");
		});

		$("#resetFilter_most").on("click", function() {
			resetFilters("filterForm_most");
		});
	});
</script>
<form:form id="filterForm_most" method="POST" commandName="criteria"
	action="${pageContext.request.contextPath}/stockscreener/search.html">
	<div class="tab-pane active" id="home">
		<div class="table_body">
			<table width="100%">
				<!-- line 1 start -->
				<tr>
					<jsp:include page="mostused_line1.jsp" />
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">PER
								(trailing)</label>
							<form:select cssClass="input-append" path="per"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0"> Negative </form:option>
								<form:option value="0-5">Blow 5</form:option>
								<form:option value="0-10">Below 10</form:option>
								<form:option value="0-15">Below 15</form:option>
								<form:option value="0-20">Below 20</form:option>
								<form:option value="5-10">5 to 10</form:option>
								<form:option value="10-15">10 to 15</form:option>
								<form:option value="20-50">20 to 50</form:option>
								<form:option value="50-max">Above 50</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">PER (FY)</label>
							<form:select cssClass="input-append" path="perLastFy"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0"> Negative </form:option>
								<form:option value="0-5">Blow 5</form:option>
								<form:option value="0-10">Below 10</form:option>
								<form:option value="0-15">Below 15</form:option>
								<form:option value="0-20">Below 20</form:option>
								<form:option value="5-10">5 to 10</form:option>
								<form:option value="10-15">10 to 15</form:option>
								<form:option value="20-50">20 to 50</form:option>
								<form:option value="50-max">Above 50</form:option>
							</form:select>
						</div>
					</td>

					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">PBV </label>
							<form:select cssClass="input-append" path="pbv"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-1">Blow 1</form:option>
								<form:option value="0-2">Below 2</form:option>
								<form:option value="1-1.5">1 to 1.5</form:option>
								<form:option value="1-2">1 to 2</form:option>
								<form:option value="3-5">3 to 5</form:option>
								<form:option value="5-max">Above 5</form:option>
							</form:select>
						</div>
					</td>
				</tr>
				<!-- line 1 End -->

				<!-- line 2 start -->
				<tr>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">Dividend
								yield</label>
							<form:select cssClass="input-append" path="dy"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="1-5">1% to 5%</form:option>
								<form:option value="5-10">5% to 5%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="0-5">Below 5%</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="min-0">Zero</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">ROE</label>
							<form:select cssClass="input-append" path="roe"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="5-10">5% to 10%</form:option>
								<form:option value="10-20">10% to 20%</form:option>
								<form:option value="20-30">20% to 30%</form:option>
								<form:option value="30-100">Above 30%</form:option>
								<form:option value="0-5">Below 5%</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="0-20">Below 20%</form:option>
								<form:option value="0-30">Below 30%</form:option>
								<form:option value="min-0">Negative</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">Debt To
								Equity</label>
							<form:select cssClass="input-append" path="debtToEquity"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="0-0">Zero</form:option>
								<form:option value="0-20">Below 20%</form:option>
								<form:option value="0-50">Below 50%</form:option>
								<form:option value="0-100">Below 100%</form:option>
								<form:option value="20-50">20% to 50%</form:option>
								<form:option value="50-100">50% to 100%</form:option>
								<form:option value="100-max">Over 100%</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">Qtr EPS
								growth YoY</label>
							<form:select cssClass="input-append" path="qtrEpsGrowthYoy"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">Qtr revenue
								growth YoY</label>
							<form:select cssClass="input-append" path="qtrRevenueGrowthYoy"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">4 qtr EPS
								YOY</label>
							<form:select cssClass="input-append" path="lstFourQtrEps"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">4 qtr
								Revenue</label>
							<form:select cssClass="input-append" path="lstFourQtrRevenue"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
				</tr>
				<!--  line 2 end  -->

				<!-- line 3 start -->
				<tr>
					<jsp:include page="price_performence.jsp" />
					<jsp:include page="sma50.jsp" />
					<jsp:include page="sma200.jsp" />

					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">Gap</label>
							<form:select cssClass="input-append" path="gap"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="0-max">Positive (up)</form:option>
								<form:option value="5-max">Up more than 5%</form:option>
								<form:option value="10-max">Up more than 10%</form:option>
								<form:option value="0-max">Up >5%</form:option>
								<form:option value="5-max">Up 5% to 10%</form:option>
								<form:option value="N_MIN-0">Negative (down)</form:option>
								<form:option value="N_MIN-N_5">Down more than 5%</form:option>
								<form:option value="N_MIN-N_10">Down more than 10%</form:option>
								<form:option value="N_MIN-N_5">Down >5%</form:option>
								<form:option value="N_5-N_10">Down 5% to 10%</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">RSI</label>
							<form:select cssClass="input-append" path="rsi"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="80-max">Above 80 (overbought)</form:option>
								<form:option value="0-max">Above 70 (overbought)</form:option>
								<form:option value="min-30">Below 30 (oversold)</form:option>
								<form:option value="min-20">Below 20 (oversold)</form:option>
								<form:option value="min-10">Below 10 (oversold)</form:option>
								<form:option value="30-40">30 to 40</form:option>
								<form:option value="40-50">40 to 50</form:option>
								<form:option value="50-60">50 to 60</form:option>
								<form:option value="60-70">60 to 70</form:option>
								<form:option value="30-70">30 to 70</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div width="70%" class="control-group">
							<label class="control-label" for="inputEmail">Ave. True
								Range</label>
							<form:select cssClass="input-append" path="avetrueRange"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="1-max">Over 1</form:option>
								<form:option value="3-max">Over 3</form:option>
								<form:option value="5-max">Over 5</form:option>
								<form:option value="min-1">Under 1</form:option>
								<form:option value="min-3">Under 3</form:option>
								<form:option value="min-5">Under 5</form:option>
							</form:select>
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="6"><input style="margin-left: 21px;"
						type="button" class="btn btn-info" id="btn_search_most"
						value="Search" /></td>
					<td><input type="button" id="resetFilter_most"
						style="margin-left: 42px;" class="btn btn-info"
						style="float: right;" value="Reset Filter" /></td>
				</tr>
			</table>
		</div>
	</div>
</form:form>